package com.data.modules.gd.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;
import java.util.stream.Collector;

/**
 * @ClassName LivechanneVo
 * @Description:类描述
 * @Author chj
 * @Date 2022/11/29
 * @Version V1.0
 **/

@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="EventLogVo", description="EventLogVo")
public class CityRankVo implements Serializable {

    private static final long serialVersionUID = 1L;
    public CityRankVo() {
    }

    public CityRankVo(String city, Long total) {

        this.city = city;
        this.total = total;
    }

    public CityRankVo(String city, BigDecimal rate) {

        this.city = city;
        this.rate = rate;
    }


    /**频道名称*/
    @ApiModelProperty(value = "频道名称")
    private Long total;
    /**节目单名称*/
    @ApiModelProperty(value = "城市")
    private String city;

    /**频道名称*/
    @ApiModelProperty(value = "占有率")
    private BigDecimal rate;

    public Long getTotal() {
        return total;
    }

    public void setTotal(Long total) {
        this.total = total;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public BigDecimal getRate() {
        return rate;
    }

    public void setRate(BigDecimal rate) {
        this.rate = rate;
    }
}
